package com.hzw.saas.api.storage.bo;

import com.hzw.saas.api.storage.enums.ResourceStatusEnum;
import com.hzw.saas.common.config.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author zzl
 * @since 07/01/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ResourceBO extends BaseBO {

    private static final long serialVersionUID = 1L;

    /**
     * 存储空间ID
     */
    @ApiModelProperty(value = "存储空间ID", position = 11)
    protected String spaceId;

    /**
     * 父目录ID
     */
    @ApiModelProperty(value = "父目录ID", position = 12)
    protected String supId;

    /**
     * 资源名称
     */
    @ApiModelProperty(value = "资源名称", position = 13)
    protected String name;

    /**
     * 资源状态
     *
     * @see com.hzw.saas.api.storage.enums.ResourceStatusEnum
     */
    @ApiModelProperty(value = "资源状态, " + ResourceStatusEnum.API_TEXT, position = 14)
    protected Integer status;

    /**
     * 创建者名称
     */
    @ApiModelProperty(value = "创建者名称", position = 65)
    protected String creatorName;

    /**
     * 更新者名称
     */
    @ApiModelProperty(value = "更新者名称", position = 66)
    protected String editorName;


}
